package online.lona.mc;

public abstract class EnvUtil {

    public static boolean isWindows() {
        String os = System.getProperty("os.name");
        return os.contains("Windows");
    }

    public static boolean isLinux() {
        String os = System.getProperty("os.name");
        return os.contains("Linux");
    }

    public static boolean is64Bits() {
        String arch = System.getProperty("sun.arch.data.model");
        boolean is64 = arch.equals("64");
        return is64;
    }

}
